package org.jeecg.modules.demo.posterlevelnewuser.service.impl;

import org.jeecg.modules.demo.posterlevel.entity.PosterLevelData;
import org.jeecg.modules.demo.posterlevelnewuser.mapper.NewUserPosterLevelMapper;
import org.jeecg.modules.demo.posterlevelnewuser.service.INewUserPosterLevelService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author yw
 * @Date 2021/3/16 16:23
 */
@Service
public class NewUserPosterLevelServiceImpl implements INewUserPosterLevelService {

    @Autowired
    private NewUserPosterLevelMapper newUserPosterLevelMapper;

    @Override
    public List<PosterLevelData> getNewUserPosterList(PosterLevelData posterLevelData) {
        return newUserPosterLevelMapper.getNewUserPosterList(posterLevelData);
    }

    @Override
    public List<PosterLevelData> getNewUserLevelList(PosterLevelData posterLevelData) {
        return newUserPosterLevelMapper.getNewUserLevelList(posterLevelData);
    }

    @Override
    public Integer getNewUserDataCount(PosterLevelData posterLevelData) {
        return newUserPosterLevelMapper.getNewUserDataCount(posterLevelData);
    }
}
